/**
 * Copyright (c) 2007,中企动力华南研发中心<br>
 * All rights reserved.
 */
package com.ce.pms.charge.service;

import com.ce.pms.base.service.IPmsBaseService;
import com.ce.pms.charge.vo.PrePayOffsetSearchVO;
import com.ce.pms.charge.vo.PrePayOffsetVO;
import com.sitechasia.webx.core.support.Page;

/**
 * 功能描述：预交款抵冲<br>
 * @author 罗军林 创建日期：2008-9-26
 */
public interface IPrePayOffsetService extends IPmsBaseService {
	public Page queryPrePay(PrePayOffsetSearchVO searchVO);
	/**
	 * 功能描述:预交款抵冲<br>
	 * @param userId
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-9-26<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public boolean prePayOffset(Long userId);

	/**
	 * 功能描述:查询指定帐户的预交款的交易<br>
	 * @param houseId
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-10-7<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public PrePayOffsetVO findPrePayOffsetByAccountId(Long houseId);

	/**
	 * 功能描述:查询指定帐户的预交款的交易<br>
	 * @param accountId
	 * @param pageNo
	 * @param pageSize
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-10-14<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Page queryPrePayTrans(Long accountId,int pageNo,int pageSize);
}
